package com.ruoyi.media.orderManage.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 软件支付订单管理业务对象 media_order_manage
 *
 * @author dqw
 * @date 2023-05-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MediaOrderManageBo extends BaseEntity {

    /**
     * 主键
     */
    //@NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 部门id
     */
    //@NotNull(message = "部门id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 用户id
     */
    //@NotNull(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 会员类型
     */
    //@NotBlank(message = "会员类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String vipType;

    /**
     * 会员描述
     */
    //@NotBlank(message = "会员描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String description;

    /**
     * 实际支付金额
     */
    //@NotBlank(message = "实际支付金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private String price;

    /**
     * 开通时长
     */
    //@NotBlank(message = "开通时长不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer openingTime;

    /**
     * 时长单位
     */
    //@NotBlank(message = "时长单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String timeType;

    /**
     * 用户昵称
     */
    private String nickname;
    /**
     * 用户订单编号
     */
    private String orderId;

    /**
     * 订单支付状态
     */
    private Integer status;

    //微信返回参数
    private String nonceStr;
    private String codeUrl;
    private String sign;
    private  String prepayId;

}
